---
output: html_document
---

## Purpose
Replication code for: *Policy goal communication increases support for ambitious renewable energy policies*

## Authors
G. Brückmann & I. Stadelmann-Steffen, University of Bern
[Contact](brueckmann.github.io "Contact info on my Website"): G. Brückmann (https://orcid.org/0000-0001-5674-2343)

### Prerequisites & Suggestions
- R (created using R version 4.4.0, R Core Team (2024), see also `session-info.tex`  
- Suggestion: Use RStudio to open the Rproject `Policy_Goals.Rproj` 
- Packages: `tidyverse`, `ggeffects`, `ggpubr`, `grateful`, `kableExtra`, `patchwork`, `sjlabelled`, `sjPlot`, `stargazer`,  `summarytools`, `vtable` 

### Files
- `repdf_pol_goal_exp.RData`: contains the dataset used   
- `Policy_Goals.Rproj`: contains the R project  

- `ReplicationCode_01_Preparation.R`: sourced only (to prepare data)  
- `ReplicationCode_02_Functions.R`: sourced only (helpful functions)  
- `ReplicationCode_3_MainResults.R`: generates main paper findings & figures  
- `ReplicationCode_4_SI.R`: generates Supplementary Information  
- `ReplicationCode_99_SessionInfo+Bib.R`: prints the session info, cites R packages used  

- `session-info.tex`: contains session information  
- `.gitignore`: contains a list of ignored files for the git version control system   

### Folder Structure

- `Out/` contains generated Figures
- `Out/Tabs/`  contains generated Tables
- `session-info.tex` 